projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e165bf3
)
* lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher): Fix regression
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 1 Oct 2021 19:34:09 +0000
(15:34 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 1 Oct 2021 19:34:09 +0000
(15:34 -0400)
lisp/emacs-lisp/cl-generic.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-generic.el
b/lisp/emacs-lisp/cl-generic.el
index a2bcad2d3aaf5993d3abac4e4f0086947e36e4e7..10490f0638cc43ae37a91ed3bc0403a94effcfce 100644
(file)
--- a/
lisp/emacs-lisp/cl-generic.el
+++ b/
lisp/emacs-lisp/cl-generic.el
@@
-631,6
+631,9
@@
The set of acceptable TYPEs (also called \"specializers\") is defined
(setq dispatch-idx 0))
(dotimes (i dispatch-idx)
(push (make-symbol (format "arg%d" (- dispatch-idx i 1))) fixedargs))
+ ;; FIXME: We should find a way to expand `with-memoize' once and forall
+ ;; so we don't need `subr-x' when we get here.
+ (require 'subr-x)
;; FIXME: For generic functions with a single method (or with 2 methods,
;; one of which always matches), using a tagcode + hash-table is
;; overkill: better just use a `cl-typep' test.